package com.ruoyi.householdacidsys.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 住户核酸任务对象 household_nucleic_acid
 *
 * @author ruoyi
 * @date 2024-07-28
 */
@TableName(resultMap = "com.ruoyi.householdacidsys.mapper.HouseholdNucleicAcidMapper.HouseholdNucleicAcidResult")
public class HouseholdNucleicAcid extends BaseEntity
        {
private static final long serialVersionUID = 1L;

    /** id */
        @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 任务名 */
            @Excel(name = "任务名")
    private String taskName;

    /** 状态 */
            @Excel(name = "状态")
    private String status;

    /** 住户名字 */
            @Excel(name = "住户名字")
    private String householdName;

    /** 住户id */
            @Excel(name = "住户id")
    private Long householdId;

    /** 开始时间 */
            @JsonFormat(pattern = "yyyy-MM-dd")
            @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** 结束时间 */
            @JsonFormat(pattern = "yyyy-MM-dd")
            @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 检测位置 */
            @Excel(name = "检测位置")
    private String detectionLocation;

    /** 检测时间 */
            @JsonFormat(pattern = "yyyy-MM-dd")
            @Excel(name = "检测时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date detectTime;

    /** 楼栋id */
            @Excel(name = "楼栋id")
    private Long buildingId;

    /** 楼栋名字 */
            @Excel(name = "楼栋名字")
    private String buildingName;

    /** 小区id */
            @Excel(name = "小区id")
    private Long communityId;

    /** 小区名字 */
            @Excel(name = "小区名字")
    private String communityName;

    public void setId(Long id)
            {
            this.id = id;
            }

    public Long getId()
            {
            return id;
            }
    public void setTaskName(String taskName)
            {
            this.taskName = taskName;
            }

    public String getTaskName()
            {
            return taskName;
            }
    public void setStatus(String status)
            {
            this.status = status;
            }

    public String getStatus()
            {
            return status;
            }
    public void setHouseholdName(String householdName)
            {
            this.householdName = householdName;
            }

    public String getHouseholdName()
            {
            return householdName;
            }
    public void setHouseholdId(Long householdId)
            {
            this.householdId = householdId;
            }

    public Long getHouseholdId()
            {
            return householdId;
            }
    public void setBeginTime(Date beginTime)
            {
            this.beginTime = beginTime;
            }

    public Date getBeginTime()
            {
            return beginTime;
            }
    public void setEndTime(Date endTime)
            {
            this.endTime = endTime;
            }

    public Date getEndTime()
            {
            return endTime;
            }
    public void setDetectionLocation(String detectionLocation)
            {
            this.detectionLocation = detectionLocation;
            }

    public String getDetectionLocation()
            {
            return detectionLocation;
            }
    public void setDetectTime(Date detectTime)
            {
            this.detectTime = detectTime;
            }

    public Date getDetectTime()
            {
            return detectTime;
            }
    public void setBuildingId(Long buildingId)
            {
            this.buildingId = buildingId;
            }

    public Long getBuildingId()
            {
            return buildingId;
            }
    public void setBuildingName(String buildingName)
            {
            this.buildingName = buildingName;
            }

    public String getBuildingName()
            {
            return buildingName;
            }
    public void setCommunityId(Long communityId)
            {
            this.communityId = communityId;
            }

    public Long getCommunityId()
            {
            return communityId;
            }
    public void setCommunityName(String communityName)
            {
            this.communityName = communityName;
            }

    public String getCommunityName()
            {
            return communityName;
            }

@Override
public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskName", getTaskName())
            .append("status", getStatus())
            .append("householdName", getHouseholdName())
            .append("householdId", getHouseholdId())
            .append("beginTime", getBeginTime())
            .append("endTime", getEndTime())
            .append("detectionLocation", getDetectionLocation())
            .append("detectTime", getDetectTime())
            .append("buildingId", getBuildingId())
            .append("buildingName", getBuildingName())
            .append("communityId", getCommunityId())
            .append("communityName", getCommunityName())
        .toString();
        }
        }